package com.neusoft.chanceserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neusoft.chanceserver.dto.CompetitionAdd;
import com.neusoft.chanceserver.dto.RespBean;
import com.neusoft.chanceserver.entity.Competition;

/**
 * <p>
 * 竞争情况表 服务类
 * </p>
 *
 * @author liuxp
 * @since 2021-07-13
 */
public interface ICompetitionService extends IService<Competition> {

    RespBean addCompetition(CompetitionAdd competitionAdd);

    RespBean updateCompetition(Competition competition);

    RespBean deleteCompetition(Integer competitionId);

    RespBean searchCompetitionByChanceId(Integer chanceId);
}
